package com.iwhalecloud.bss.kite.cucc.client.dto.flow;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author yangwj
 * @date 2020/5/11 22:40
 */
public class TrackInfoDTO implements Serializable {

    private static final long serialVersionUID = 7590687939799682462L;

    @ApiModelProperty(value = "订单数据")
    private OrderInfo orderInfo;

    @ApiModelProperty(value = "流程信息")
    private Map<String, List<FlowInfo>> flowInfoList;

    public OrderInfo getOrderInfo() { return orderInfo; }

    public void setOrderInfo(OrderInfo orderInfo) { this.orderInfo = orderInfo; }

    public Map<String, List<FlowInfo>> getFlowInfoList() {
        return flowInfoList;
    }

    public void setFlowInfoList(Map<String, List<FlowInfo>> flowInfoList) {
        this.flowInfoList = flowInfoList;
    }

    @Override
    public String toString() {
        return "TrackInfoDTO{" +
            "orderInfo=" + orderInfo +
            ", flowInfoList=" + flowInfoList +
            '}';
    }

    public static class FlowInfo{
        private String orderId;
        private String flowNodeName;
        private String createDt;
        private String flowInstId;
        private String ruleCode;
        private String taskType;
        private String flowNodeCode;
        private String ruleName;
        private String flowCompleteState;
        private String nodeKey;
        private String assignee;
        private String finishDt;
        private String id;
        private String dealResult;
        private int status;
        private String moduleCode;

        /**
         * Description: <br>
         *  
         * @author tengg<br>
         * @taskId <br>
         * @return moduleCode <br>
         */
        public String getModuleCode() {
            return moduleCode;
        }

        /**
         * Description: <br>
         *  
         * @author tengg<br>
         * @taskId <br>
         * @param moduleCode <br>
         */
        public void setModuleCode(String moduleCode) {
            this.moduleCode = moduleCode;
        }

        public String getOrderId() { return orderId; }

        public void setOrderId(String orderId) { this.orderId = orderId; }

        public String getFlowNodeName() { return flowNodeName; }

        public void setFlowNodeName(String flowNodeName) { this.flowNodeName = flowNodeName; }

        public String getCreateDt() { return createDt; }

        public void setCreateDt(String createDt) { this.createDt = createDt; }

        public String getFlowInstId() { return flowInstId; }

        public void setFlowInstId(String flowInstId) { this.flowInstId = flowInstId; }

        public String getRuleCode() { return ruleCode; }

        public void setRuleCode(String ruleCode) { this.ruleCode = ruleCode; }

        public String getTaskType() { return taskType; }

        public void setTaskType(String taskType) { this.taskType = taskType; }

        public String getFlowNodeCode() { return flowNodeCode; }

        public void setFlowNodeCode(String flowNodeCode) { this.flowNodeCode = flowNodeCode; }

        public String getRuleName() { return ruleName; }

        public void setRuleName(String ruleName) { this.ruleName = ruleName; }

        public String getFlowCompleteState() { return flowCompleteState; }

        public void setFlowCompleteState(String flowCompleteState) { this.flowCompleteState = flowCompleteState; }

        public String getNodeKey() { return nodeKey; }

        public void setNodeKey(String nodeKey) { this.nodeKey = nodeKey; }

        public String getAssignee() { return assignee; }

        public void setAssignee(String assignee) { this.assignee = assignee; }

        public String getFinishDt() { return finishDt; }

        public void setFinishDt(String finishDt) { this.finishDt = finishDt; }

        public String getId() { return id; }

        public void setId(String id) { this.id = id; }

        public String getDealResult() { return dealResult; }

        public void setDealResult(String dealResult) { this.dealResult = dealResult; }

        public int getStatus() { return status; }

        public void setStatus(int status) { this.status = status; }
    }

    public static class OrderInfo{
        private String orderType;
        private String goodsCatagoriesName;
        private String bizType;
        private String serialNumber;
        private String isParent;
        private String flowNodeId;
        private String orderId;
        private String groupId;
        private String flowNodeName;
        private String bizTypeName;
        private String goodsCatagories;
        private String orderTypeName;
        private String statusName;
        private String status;

        public String getOrderType() { return orderType; }

        public void setOrderType(String orderType) { this.orderType = orderType; }

        public String getGoodsCatagoriesName() { return goodsCatagoriesName; }

        public void setGoodsCatagoriesName(String goodsCatagoriesName) { this.goodsCatagoriesName = goodsCatagoriesName; }

        public String getBizType() { return bizType; }

        public void setBizType(String bizType) { this.bizType = bizType; }

        public String getSerialNumber() { return serialNumber; }

        public void setSerialNumber(String serialNumber) { this.serialNumber = serialNumber; }

        public String getIsParent() { return isParent; }

        public void setIsParent(String isParent) { this.isParent = isParent; }

        public String getFlowNodeId() { return flowNodeId; }

        public void setFlowNodeId(String flowNodeId) { this.flowNodeId = flowNodeId; }

        public String getOrderId() { return orderId; }

        public void setOrderId(String orderId) { this.orderId = orderId; }

        public String getGroupId() { return groupId; }

        public void setGroupId(String groupId) { this.groupId = groupId; }

        public String getFlowNodeName() { return flowNodeName; }

        public void setFlowNodeName(String flowNodeName) { this.flowNodeName = flowNodeName; }

        public String getBizTypeName() { return bizTypeName; }

        public void setBizTypeName(String bizTypeName) { this.bizTypeName = bizTypeName; }

        public String getGoodsCatagories() { return goodsCatagories; }

        public void setGoodsCatagories(String goodsCatagories) { this.goodsCatagories = goodsCatagories; }

        public String getOrderTypeName() { return orderTypeName; }

        public void setOrderTypeName(String orderTypeName) { this.orderTypeName = orderTypeName; }

        public String getStatusName() { return statusName; }

        public void setStatusName(String statusName) { this.statusName = statusName; }

        public String getStatus() { return status; }

        public void setStatus(String status) { this.status = status; }
    }
}
